package com.llun.spet;

import org.apache.cordova.DroidGap;

import android.content.Intent;
import android.nfc.NfcAdapter;
import android.os.Bundle;
import android.provider.Settings;

public class sPetActivity extends DroidGap {
	@Override
	public void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);
		NfcAdapter myAdapter = NfcAdapter.getDefaultAdapter(this);
		if(myAdapter.isEnabled()==false){
			startActivity(new Intent(Settings.ACTION_NFC_SETTINGS));
		}
		super.loadUrl("file:///android_asset/www/index.html");
	}
}


/*Intent intent = new Intent(Intent.ACTION_CALL,               
        Uri.parse("tel:"+strPhoneNumber));
startActivity(intent);
*/